package com.easylinkin.linkappapi.asset.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.asset.entity.AssetRefManager;

import java.util.List;

/**
 * <p>
 * 设备资产表，关联两张表 关联1  资产表-资产设备表 关联2  资产表-资产用户表 服务类
 * </p>
 *
 * @author XuGuoQing
 * @since 2020-04-15
 */
public interface AssetRefManagerService extends IService<AssetRefManager> {

    int batchDelete(List<String> assetId);

    boolean batchAdd(String assetId, List<String> ManagerIdList);

    boolean isManagerIdAllExist(List<String> ManagerIdList);

    boolean isAssetRefManagers(String assetId, List<String> managerIdList);


}
